﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;

public partial class cinema_detail : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string cinemaStr = Request.QueryString["CinemaName"];
        Cinema c = new Cinema(cinemaStr);
        DAL.Cinemas cinemas = new DAL.Cinemas();
        cinemas = c.CinemaInfo();

        if (cinemas != null)
        {
            imgCinema.ImageUrl = cinemas.image_url;
            lblName.Text = cinemas.name.ToString();
            lblAddress.Text = cinemas.address.ToString();
            lblTel.Text = cinemas.tel.ToString();
        }
    }
}